<%--
  Created by IntelliJ IDEA.
  User: Snakewood
  Date: 2020/12/25
  Time: 11:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
    <title>Title</title>
    <style>
        div{
            text-align: center;
        }
    </style>
    <script language="javascript">
        function myReload() {
            document.getElementById("CreateCheckCode").src = document
                    .getElementById("CreateCheckCode").src
                + "?nocache=" + new Date().getTime();
        }
    </script>
</head>
<body>
<%@include file="head.jsp"%>
<div>

<h2>登录</h2>
<form action="user?op=login" method="post">
    <span style="color: red">${msg}</span>
    <p>用户名：<input name="username"/></p>
    <p>密  码：<input name="password" type="password"/></p>

        <input name="checkCode" type="text" id="checkCode" title="验证码区分大小写"
               size="8" ,maxlength="4" />
        <img src="PictureCheckCode" id="CreateCheckCode" align="middle">
        <a href="" onclick="myReload()"> 看不清,换一个</a>

    <p><input type="submit" value="提交"></p>
<%--    <a style="text-align: right" href="adminlogin.jsp">管理员登录</a>--%>
</form>
</div>


</body>
</html>
